package com.ruoyi.business.domain;

import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 台架参数对象 rack_param
 * 
 * @author qiancheng
 * @date 2025-06-23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("rack_param")
public class RackParam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 参数ID */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 所属台架Id */
    @Excel(name = "所属台架Id")
    @TableField(value = "rack_id")
    private Long rackId;

    /** 参数名称 */
    @Excel(name = "参数名称")
    @TableField(value = "param_name")
    private String paramName;

    /** 参数编码 */
    @Excel(name = "参数编码")
    @TableField(value = "param_value")
    private String paramValue;

}
